import App from './App'
import Vue from 'vue'

Vue.config.productionTip = false
App.mpType = 'app'

// 引入vuex
import Vuex from 'vuex'
import store from 'store/index.js'
Vue.use(Vuex)

// 引入uview
import uView from "uview-ui";
Vue.use(uView);

const app = new Vue({
  ...App,
  store,
})

// 引入请求封装，将app参数传递到配置中
require('./config/request.js')(app)

app.$mount()
